//
//  QianBaoHeaderTableViewCell.m
//  DBAChain
//
//  Created by Evan on 2018/9/9.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "QianBaoHeaderTableViewCell.h"
#import "CommonData.h"

@implementation QianBaoHeaderTableViewCell

+ (instancetype)cellWithTableView:(UITableView *)tableView IndexPath:(NSIndexPath *)indexPath
{
    NSString *Service = [NSString stringWithFormat:@"QianBaoHeaderTableViewCell_%ld_%ld",indexPath.section,indexPath.row];
    QianBaoHeaderTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:Service];
    if (cell == nil) {
        [tableView registerNib:[UINib nibWithNibName:@"QianBaoHeaderTableViewCell" bundle:nil] forCellReuseIdentifier:Service];
        cell = [tableView dequeueReusableCellWithIdentifier:Service];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return cell;
}

+ (instancetype)cellWithTableViewList:(UITableView *)tableView IndexPath:(NSIndexPath *)indexPath
{
    NSString *Service = [NSString stringWithFormat:@"QianBaoHeaderTableViewCell2_%ld_%ld",indexPath.section,indexPath.row];
    QianBaoHeaderTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:Service];
    if (cell == nil) {
        [tableView registerNib:[UINib nibWithNibName:@"QianBaoHeaderTableViewCell" bundle:nil] forCellReuseIdentifier:Service];
        cell = [tableView dequeueReusableCellWithIdentifier:Service];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
        
        cell.labelLeft.textColor = LCFromRGB(51, 51, 51);
        cell.labelCenter.textColor = LCFromRGB(51, 51, 51);
    }
    return cell;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
